﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/head.jspf"%>   
<head>
<title>东方易云后台管理系统</title>
<style>
body { background: #f5f5f5 ;}
</style>
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="js/pngfix.js"></script>
<![endif]-->
</head>
<script language="javascript">
function goPage(pageNo) {
	document.selectForm.pageNo.value = pageNo;
	document.selectForm.fcNodeSelect.value = document.selectForm.fcNodeSelectH.value;
	document.selectForm.fcSendTypeSelect.value = document.selectForm.fcSendTypeSelectH.value;
	document.selectForm.fcRecvTypeSelect.value = document.selectForm.fcRecvTypeSelectH.value;
	document.selectForm.fiFlagSelect.value = document.selectForm.fiFlagSelectH.value;
	document.selectForm.submit();
}
</script>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <!-- Page Head -->
    <div id="page-title"><h3>交换节点管理</h3></div>
    <div class="pgline"></div>
    <div class="notification querytj png_bg">
      <div>
       <form method="post" action="list" id="selectForm" name="selectForm">
       <input type="hidden" name="pageNo" value="<c:out value='${pageNo}'/>" />
       <input type="hidden" name="fcNodeSelectH" value="<c:out value='${fcNodeSelect}'/>" />
       <input type="hidden" name="fcSendTypeSelectH" value="<c:out value='${fcSendTypeSelect}'/>" />
       <input type="hidden" name="fcRecvTypeSelectH" value="<c:out value='${fcRecvTypeSelect}'/>" />
       <input type="hidden" name="fiFlagSelectH" value="<c:out value='${fiFlagSelect}'/>" />
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="10%" height="35" align="right">&nbsp;&nbsp;交换名称：              </td>
            <td width="31%"><input type="text" name="fcNodeSelect"  class="input2" value="<c:out value='${fcNodeSelect}' />"/></td>
            <td width="10%" align="right">发送方式：              </td>
            <td width="33%"><select name="fcSendTypeSelect" class="select1" >
            	<option value="" selected>未指定</option>
              <c:forEach var="map" items="${catagoryTransfersMap}">
            	<option value="<c:out value='${map.key }'></c:out>" <c:out value="${fcSendTypeSelect==map.key?'Selected':''}"></c:out>><c:out value='${map.value }'></c:out>
            </c:forEach>
            </select></td>
            <td width="15%" rowspan="2"><div><a class="button" href="javascript:void(0);" onclick="$('#selectForm').submit();">查询</a></div></td>
          </tr>
          <tr>
            <td width="10%" height="35" align="right">&nbsp;&nbsp;接收方式：              </td>
            <td width="31%" height="35"><select name="fcRecvTypeSelect" class="select1" >
           	 <option value="" selected>未指定</option>
             <c:forEach var="map" items="${catagoryTransfersMap}">
            	<option value="<c:out value='${map.key }'></c:out>" <c:out value="${fcRecvTypeSelect==map.key?'Selected':''}"></c:out>><c:out value='${map.value }'></c:out>
            </c:forEach>
            </select></td>
            <td width="11%" align="right">状态：              </td>
            <td width="33%"><select name="fiFlagSelect" class="select1" >
              <option value="" selected>未指定</option>
              <c:forEach var="map" items="${catagoryStateMap}">
            	<option value="<c:out value='${map.key }'></c:out>" <c:out value="${fiFlagSelect==map.key?'Selected':''}"></c:out>><c:out value='${map.value }'></c:out>
            </c:forEach>
            </select></td>
          </tr>          
        </table>
        </form>
      </div>
    </div>
    <div class="clear"></div>
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>交换点列表</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab">
          <table>
            <thead>
              <tr>
                <th>交换名称</th>
                <th>交换描述</th>
                <th>发送传输方式</th>
                <th>发送物理地址</th>
                <th>接收传输方式</th>
                <th>接收物理地址</th>
                <th>报文格式</th>
                <th>报文类型</th>
                <th>报文编码</th>
                <th>状态</th>
              </tr>
            </thead>
            <tfoot>
              <tr>
                <td colspan="10">
                 <c:out value="${pageInfo}" escapeXml="false"></c:out>
                  <!-- End .pagination -->
                  <div class="clear"></div></td>
              </tr>
            </tfoot>
            <tbody>
              <tr>
                <c:forEach var="dataxNodeChannelVO" items="${dataxNodeChannelVOList}">
              <tr>
                <td><c:out value="${dataxNodeChannelVO.fcNode}"></c:out></td>
                <td><c:out value="${dataxNodeChannelVO.fcNodeDesc}"></c:out></td>
                <td><c:out value="${catagoryTransfersMap[fn:trim(dataxNodeChannelVO.fcCommunSendType)]}"></c:out></td>
                <td><c:out value="${dataxNodeChannelVO.fcCommunSendParam}"></c:out></td>
                <td><c:out value="${catagoryTransfersMap[fn:trim(dataxNodeChannelVO.fcCommunRecvType)]}"></c:out></td>
                <td><c:out value="${dataxNodeChannelVO.fcCommunRecvParam}"></c:out></td>
                <td><c:out value="${catagoryMessageFormatMap[fn:trim(dataxNodeChannelVO.fcMsgFormateId)]}"></c:out></td>
                <td><c:out value="${catagoryMessageTypeMap[fn:trim(dataxNodeChannelVO.fcMsgType)]}"></c:out></td>
                <td><c:out value="${catagoryCharacterMap[fn:trim(dataxNodeChannelVO.fcMsgCharset)]}"></c:out></td>
                <td><c:out value="${catagoryStateMap[fn:trim(dataxNodeChannelVO.fiFlag)]}"></c:out></td>
              </tr>
              
             </c:forEach>
              </tr>
            </tbody>
          </table>
        </div>
        <!-- End #tab1 -->
      </div>
      <!-- End .content-box-content -->
    </div>
  </div>
  <!-- End #main-content -->
</div>
</body>
</html>
